<template>
	 <div class='data-total'>
        <div>{{pageText.orderTotal}}：<text>{{orderTotal}}</text></div>
        <div>{{pageText.saleTotal}}：<text>￥{{priceTotal}}</text></div>
    </div>

</template>
<script type="text/javascript">
	
	export default{
		data(){
			return {
				pageText:{
					'orderTotal':'订单合计',
        			'saleTotal' :'销售合计',
				}
			}
		},
		props:['orderTotal','priceTotal']
	}
</script>

<style>
.data-total{
    display: flex;
    font-size: 24rpx;
    position: fixed;
    width: 100%;
    height: 80rpx;
    background: #fff;
    bottom: 0;
    left: 0;
    line-height: 80rpx;
}
.data-total view{
    flex: 1;
    text-align: center;
}
.data-total view text{
    color: red;
}
</style>